cmake_minimum_required(VERSION 3.15)

file(GLOB_RECURSE SRC ./src/*.cpp)

set(CMAKE_CXX_STANDARD 14)

project(lovechat VERSION 1.0)

set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_SOURCE_DIR}/bin)

include_directories(include)

add_executable(lovechat ${SRC})

target_link_libraries(lovechat
${CMAKE_SOURCE_DIR}/lib/libmysqlclient.so.18
${CMAKE_SOURCE_DIR}/lib/libjsoncpp.so
)